
#ifndef CIRCULAR_BUFFER_H_
#define CIRCULAR_BUFFER_H_

#include <GenericTypeDefs.h>

typedef struct CircularBufferStruct * CircularBuffer;

CircularBuffer CircularBuffer_Init(INT16* buffer, int size);
void CircularBuffer_Destroy(CircularBuffer buff);
BOOL CircularBuffer_Add(CircularBuffer buff, int value);
INT16 CircularBuffer_Get(CircularBuffer buff);

#endif
